import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
// 定义一个全局变量，直接存入Vue.prototype
import BASE from '@/http/BaseUrl'
Vue.prototype.UPLOADURL = BASE.UPLOADURL

// JS安全密钥
window._AMapSecurityConfig = {
  securityJsCode:'3dd9ceca0e5536cf20ce87f3541d7dc9',
}

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
